package com.wwlwxg.filemanager.annotation;

import com.wwlwxg.filemanager.enums.InterceptorLevel;

import java.lang.annotation.*;

/**
 * @author: coco
 * @time 2019/2/1 - 16:57
 */
@Documented
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface AuthInterceptor {
    /**
     * 定义拦截级别，默认为用户级别拦截
     * @return
     */
    InterceptorLevel value() default InterceptorLevel.USER;
}
